这是页面js代码 Ext.onReady(function(){ var win=new Ext.Window({ html:"" }); win.show(); })
下面是java中获取二进制的图片(补上)呵呵
public void getView(HttpServletRequest request,HttpServletResponse response,String id) throws IOException{byte[] datas=getViewdatas(id);//获得数据库中的保存的二进制图片InputStream inputstream=new ByteArrayInputStream(datas);OutputStream out=request.getOutputstream();int size=inputstream.read(datas,0,datas.length);if(size>0){ out.write(datas,0,size);}inputstream.close();}